﻿using Mysoft.Common.Const;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mysoft.Common.Extensions
{
    public static class CacheKeysExtension
    {
        public static string GetUserKey(this Guid guid)
        {
            return $"{ CacheKeys.user}{guid}";
        }
        public static string GetUserKey(this Guid? guid) 
        {
            return $"{ CacheKeys.user}{guid}";
        }
    }
}
